package xml;

import org.dom4j.Document;
import org.dom4j.DocumentFactory;

public class DomHolder
{
	public static DomHolder instance = new DomHolder();
	
	public Document dom;
	
	private DomHolder()
	{
		dom = DocumentFactory.getInstance().createDocument();
		dom.addElement("vokabeln");
	}

	public static DomHolder getInstance()
	{
		return instance;
	}

	public Document getDom()
	{
		return dom;
	}

	public void setDom(Document dom)
	{
		this.dom = dom;
	}
	
	
	
}
